/*******************************************************************************
 * Package: com.song.boot.springstudy.thread.join
 * Type:    Test
 * Date:    2025-09-03 21:58
 *
 * Copyright (c) 2025 LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.song.boot.springstudy.thread.join;

/**
 * 功能描述：
 *
 * @author Songxianyang
 * @date 2025-09-03 21:58
 */
public class Test extends Thread {
    public String nameThread;

    public Test(String name) {
        this.nameThread = name;
    }

    @Override
    public void run() {
        System.out.println("线程结果：：" + nameThread + "当前线程id为：：" + Thread.currentThread().getId());
    }
}
